Skip to content

refactor(tutor-setup): enforce minimum loading duration for tutor setup & optimize code#2903

Merged
shewa12 merged 3 commits into
devfrom
tutor-onboarding
Jul 15, 2026
Merged

refactor(tutor-setup): enforce minimum loading duration for tutor setup & optimize code#2903
shewa12 merged 3 commits into
devfrom
tutor-onboarding

Conversation

@nur-alam

@nur-alam nur-alam commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

enforce minimum loading duration for tutor setup
wait with dynamic calculation based on onboarding start time to ensure at least 6000ms total loading screen display

Remove unused isLoadingTextLooping state variable and related checks in the loading animation logic. Cache the sample course import flag to avoid repeated form data lookups.

nur-alam added 2 commits July 14, 2026 15:49
Remove unused `isLoadingTextLooping` state variable and related checks in the loading animation logic. Cache the sample course import flag to avoid repeated form data lookups. Add a 2-second delay before fading out the loading screen.
replace fixed 2000ms wait with dynamic calculation based on onboarding start time to ensure at least 6000ms total loading screen display
@nur-alam nur-alam changed the title refactor(tutor-setup): clean up loading animation and optimize code refactor(tutor-setup): enforce minimum loading duration for tutor setup & clean up loading animation and optimize code Jul 14, 2026
@nur-alam nur-alam added the 4.0.2 Tutor v4.0.2 label Jul 15, 2026
@nur-alam nur-alam changed the title refactor(tutor-setup): enforce minimum loading duration for tutor setup & clean up loading animation and optimize code refactor(tutor-setup): enforce minimum loading duration for tutor setup & optimize code Jul 15, 2026
@shewa12 shewa12 merged commit 4c7733a into dev Jul 15, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0.2 Tutor v4.0.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants